package main

import "fmt"

type Address struct {
	pro  string
	city string
}

type Person4 struct {
	name   string
	gender string
	age    int
	// 嵌套另外一个结构体
	Address
}

func main() {
	p := Person4{age: 4, Address:Address{city: "ss"}}
	fmt.Print(p.Address.city)
}
